h3,
h2,
h1,
p {
  margin: 0;
}

// .table-navbar {
//   min-height: 50px;
//   display: flex;
//   .search-box {min-width: 85px;;height: 36px;text-align: center;border-radius: 4px;letter-spacing: 1px;}
//   > .search-box:not(:nth-child(1)) {margin-left: 15px;}
// }
.bg-green {
  background: #42b983 !important;
  border: 1px solid #42b983;
  color: #fff !important;
  &:hover {
    border: 1px solid #5cc998;
    background: #5cc998 !important;
  }
}

.fw {
  font-weight: bold;
}

.fs12 {
  font-size: 12px;
}

.positiveFc {
  color: #c00;
}

.positiveFc1 {
  color: #e02020;
}

.negativeFc {
  color: #008800;
}

.negativeFc1 {
  color: #52c41a;
}

.s-warning {
  background: #ffaa00;
}

.s-success {
  background: #42b983;
}

.s-error {
  background: #ff3300;
}

// 月度表现弹出层
.showMonthOpen-open {
  width: calc(100% - #{$sideBarWidth} - 150px);
  .cellBg {
    background: #fcf8e3;
  }
  .el-table--enable-row-hover .el-table__body tr:hover > td {
    background: #fcf8e3;
  }
}

// 月度表现年份箭头兼容样式
.cell-pl-10 {
  text-align: left;
  padding-left: 24px;
}

.el-table__expand-icon {
  float: right;
}

// 展开行
.el-table__row--level-1 {
  background: #fcf8e3 !important;
}

.el-table__row--level-2 {
  background: #fcf8e3 !important;
}

// 有展开行的列表，背景为黄色底时，去掉hover时背景颜色变化   // 收益风险指标列表特用
.expand-table__hover-bg.el-table--enable-row-hover
  .el-table__body
  .el-table__row.el-table__row--level-2:hover
  > td {
  background: #fcf8e3; //todo
}

.riskIndicators-table {
  .el-table__row--level-1 {
    background: #f0d691 !important; //todo
  }
}

.expand-table__hover-bg.el-table--enable-row-hover
  .el-table__body
  .el-table__row.el-table__row--level-1:hover
  > td {
  background: #f0d691; //todo
}

// 字体省略
.tof {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pointer {
  cursor: pointer;
}

.fromLine {
  .label {
    min-width: 100px;
  }
  .fromLine-content {
    min-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

// 详情头部tip样式
.tit-tip {
  margin-bottom: 0px !important;
  padding: 5px;
  border-radius: 2px;
}

// 创建组合拖拽卡片
.slickIteming-card {
  .slickItem-card {
    font-size: 12px;
    margin: 0 8px;
    height: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(231, 231, 231);
  }
}

// 投顾选择弹窗
.relationOpne {
  .el-dialog {
    width: 1000px;
  }
}

.borDrag {
  border: 1px solid #ddd;
}

.more-date {
  .md-chunk {
    width: 48%;
  }
  .md-tit {
    height: 30px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
  }
  .md {
    margin-top: 10px;
    cursor: pointer;
  }
  .md-active {
    color: #e1322d;
  }
}

// flex
.flex {
  display: flex;
}

.flex-h-sb {
  display: flex;
  justify-content: space-between;
}

.flex-hc-sb {
  display: flex;
  align-items: center; // todo
  justify-content: space-between;
}

.flex-v-center {
  display: flex;
  align-items: center;
}

.flex-h-center {
  display: flex;
  align-items: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-vh-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wrap {
  flex-wrap: wrap;
}

// element ui
// *********** table 内部竖向边框
// .el-table--border th,
// .el-table--border td {
// border-right: none;
// }

// *********** table 单元格横线问题
// .el-table__fixed {
//     height: 100% !important; //设置高优先，以覆盖内联样式
// }

.el-table {
  .el-table__body tr.current-row > td {
    background-color: #fef7e3;
  }
  .nowrap {
    .cell {
      white-space: nowrap;
    }
  }
  .clamp2Ellipsis {
    .cell {
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
  }
  .cell-pad-0 {
    .cell {
      padding: 0;
    }
  }
}

.el-table--striped .el-table__body tr.el-table__row--striped.current-row td {
  background-color: #fef7e3;
}

.el-step__line-inner {
  background-color: #409eff;
}

.pagination-container-mini {
  transform: scale(0.9);
  padding: 15px 16px !important;
}

.el-form-center .el-form-item {
  margin-bottom: 0;
}

.el-tag--info {
  span {
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.el-cascader__tags {
  align-items: center;
}

.tableHead-select {
  user-select: none;
  background-color: rgb(220, 237, 255);
  transform: scale(0.8);
  .el-input {
    line-height: 22px;
  }
  .el-input.is-focus .el-input__inner {
    border-color: rgb(50, 99, 157);
  }
  .el-input__inner {
    height: 22px;
    color: rgb(50, 99, 157);
    border: 1px solid rgb(50, 99, 157);
    padding: 0 4px;
    background-color: rgb(220, 237, 255);
    &:hover {
      border: 1px solid rgb(50, 99, 157);
    }
  }
  .el-input__inner:focus {
    border-color: rgb(50, 99, 157);
  }
  .el-input__suffix {
    .el-select__caret {
      transition: transform 0s;
      width: 0px;
      color: rgb(50, 99, 157);
    }
    .el-select__caret.is-reverse {
      transform: rotateZ(0deg) translate(-13px, -3px);
    }
  }
}

.tableCell-select {
  margin-right: 4px;
  .el-input__suffix {
    right: -1px;
  }
  .el-input__inner {
    font-size: 12px;
    padding: 4px;
  }
}

// 自定义输入框报错样式
.border_red {
  input {
    border: 1px solid red !important;
    color: red;
  }
}

.el-button--mini {
  font-size: 11px;
  padding: 6px 10px;
}

.el-table__fixed-right {
  border-right: 1px solid #ebeef5;
}

.el-table {
  .title-row {
    background: #dcedff !important;
  }
  .cell-row-0 {
    background: #fff7f7 !important;
  }
  .cell-row-1 {
    background: #fffcf5 !important;
  }
  .cell-row-2 {
    background: #fffbfd !important;
  }
  .cell-row-3 {
    background: #fafffb !important;
  }
  .cell-row-4 {
    background: #fffcfc !important;
  }
  .cell-row-5 {
    background: #f9fdff !important;
  }
  .cell-row-6 {
    background: #fdfbfe !important;
  }
  .cell-row-default {
    // color: #fff;
    background: #fff !important;
  }
  .cell-row-gray {
    color: #bfbfbf;
    background: #f5f5f5 !important;
  }
  .cell-row-negative {
    background: #daeed5 !important;
  }
  .cell-row-low {
    background: #ffe68c !important;
  }
  .cell-row-high {
    background: #fcc6ba !important;
  }
  // 历史月度表现
  .showMonthyearBorder0 {
    border-right: 2px solid #e16757;
  }
  .showMonthyearBorder1 {
    border-right: 2px solid #78b2eb;
  }
}

.el-dialog {
  min-width: 800px;
}

.el-button-select {
  //todo
  color: #1890ff;
  background: #fff;
  border: 1px solid #1890ff;
}

// 输入框带后缀disabled
.el-input.is-disabled {
  .el-input-group__append {
    border-left: 1px solid #dcdfe6;
  }
}

// 单个样式全局调整
.contrast-card-popover {
  .cs-card {
    height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    .name {
      width: 160px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
  .cs-card-btn {
    color: #e1322d;
    justify-content: space-between;
  }
}

// 详情头部
.head3 {
  min-width: 1140px;
  // border-bottom: 1px solid #e1e0e0;
  padding-bottom: 15px;
  font-family: PingFangSC-Medium, PingFang SC;
  .fzBig {
    font-size: 36px;
    font-weight: bold;
    margin-top: 10px;
  }
  .fromLine {
    display: flex;
    line-height: 28px;
    .label {
      min-width: 0px;
    }
    .fromLine-content {
      min-width: 0;
    }
    .label-line2 {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      .tip {
        line-height: 12px;
        padding-right: 12px;
      }
    }
  }
  .title {
    font-size: 26px;
    font-weight: 500;
    .fontdoc {
      font-size: 22px;
      color: #678eb3;
      cursor: pointer;
      margin-left: 6px;
    }
  }
  .sub-title {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
  }
  .head-content {
    margin-top: 10px;
    .left {
      width: 78%;
    }
    .right {
      width: 22%;
    }
  }
}

.fontcolor:hover {
  color: #1890ff;
  .svg-icon {
    filter: drop-shadow(#1890ff 80px 0);
    transform: translateX(-80px);
  }
}

.gray {
  color: #979797;
}

// 对比
.contrastGray {
  color: rgba($color: #666, $alpha: 0.6);
}

.pub_tableTree_maxBack {
  .el-table__row--level-1 {
    td:first-child {
      .cell {
        color: #999;
        // span {
        // display: none;
        // }
      }
    }
  }
}

.proName_tof {
  max-width: 400px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// 列表表单默认样式调整
.container-header {
  .el-form--inline {
    .el-form-item {
      margin: 0 12px 16px 12px;
    }
  }
}
.policyManage_popover {
  min-width: 0;
}
